package com.liouwb.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author liouwb
 */
@SpringBootApplication
@EnableEurekaClient  // 服务启动的时候注册到eureka中
@EnableDiscoveryClient // 服务发现，可以获取eureka上注册的服务的列表和信息
public class ProviderServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProviderServerApplication.class, args);
    }

}
